<!DOCTYPE html>
<html lang="zh"
	  xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
	  xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
		<title></title>
		<link rel="stylesheet" type="text/css" th:href="@{/css/mobile_resert.css}" href="../static/css/mobile_resert.css"/>
		<link rel="stylesheet" type="text/css" th:href="@{/css/mobile_style.css}" href="../static/css/mobile_style.css"/>
	</head>
	<body>
		<div class="dd"></div>
		<div class="top"><span>证件照拍摄</span>
			<img th:src="@{/imgesMob/login_1.png}" src="../static/imgesMob/login_1.png"  />
			<!--<img th:src="@{/images/face.jpg}" src="../static/images/face.jpg"  />-->
		</div>
		<div class="container">
			<form th:action="@{/login}" method="POST" class="layui-form">
				<div class="layui-form-item input-item" th:align="center">
					<span th:if="${param.error}">用户名或密码错误！</span>
					<span th:if="${param.code}">验证码错误！</span>
					<span th:if="${param.logout}">你已经退出！</span>
					<span th:if="${param.disabled}">账号已禁用，请联系管理员启用！</span>
				</div>
				<div class="index layui-form-item">
					<input type="text" class="layui-input user" autocomplete="off" name="username" required  lay-verify="required" placeholder="输入学生身份证" />
				</div>
				<div class="index layui-form-item">
					<input type="password" class="layui-input pwd" autocomplete="off" name="password" required  lay-verify="required" placeholder="输入密码" />
				</div>
				<div class="index layui-form-item">
					<input type="text" class="layui-input verify" autocomplete="off" name="code" required  lay-verify="required" placeholder="输入验证码"/>
					<img id="loginCode"  th:src="@{/loginValidateCode}" style="height: 37px;width: 100px;">
					<!--<span class="codeImg">77888</span>-->
				</div>
				<button type="submit" class="btn mobile_submit_btn" lay-filter="login">登录</button>
			</form>
			<script type="text/javascript" th:src="@{/js/mobile_auto.js}" src="../static/js/mobile_auto.js" ></script>
			<script type="text/javascript" th:src="@{/layui/layui.js}" src="../static/layui/layui.js"></script>
			<script type="text/javascript" th:src="@{/js/login.js}" src="../static/js/login.js"></script>
		</div>
	</body>
</html>
